package com.ygqh.baby;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Ss
 */
@SpringBootApplication
@EnableScheduling
public class YgChatApplication extends SpringBootServletInitializer  {
	
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(YgChatApplication.class);
    }

	public static void main(String[] args) {
		SpringApplication.run(YgChatApplication.class, args);
		System.out.println("【【【【SpringBoot---->yg_chat服务启动成功】】】】");
	}
}
